package com.googlecode.websword.rest.exception;

public class RestCallException extends RuntimeException {
    private int code = 404; //
    
    public RestCallException(int code, String msg) {
        super(msg);
        this.code = code;
    }
    
    private static final long serialVersionUID = -6707289723125108989L;
    
    public int getCode() {
        return code;
    }
    
    public void setCode(int code) {
        this.code = code;
    }
}
